{% extends 'index.html' %}
{% block content %}

    <div class="container">
        <div class="panel panel-default">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">新建靓号</h3>
                </div>
                <div class="panel-body">
                    <form method="post" novalidate>
                        {% csrf_token %}
                        {% for item in model %}
                            <div class="form-group">
                                <label> {{ item.label }}</label>
                                {#                                <label>  {{ item }}</label>#}
                                {{ item }}
                                <sapn style="color: red">{{ item.errors.0 }}</sapn>

                            </div>

                        {% endfor %}

                        <button type="submit" class="btn btn-primary">提 交</button>
                    </form>

                </div>
            </div>
        </div>
    </div>

{% endblock %}